/*
 * Copyright (c) 2019. J4dream Created.
 */

package com.j4dream.property.config;

import com.j4dream.property.service.CacheService;
import com.j4dream.property.service.implment.RedisCacheServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CacheConfig {
    @Bean("cacheService")
    public CacheService getCacheService() {
        return new RedisCacheServiceImpl();
    }
}
